@layout("/common/_form.html",{js:["/assets/manager/flowBanner/flowBanner_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="flowBannerForm" lay-filter="flowBannerForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="bannerId" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">导航标题<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="bannerTitle" name="bannerTitle" placeholder="请输入导航标题" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">banner图<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn" id="bannerUrlBtn">上传图片</button>
                            <input type="hidden" id="bannerUrl" name="bannerUrl" />
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" style="width: 120px;" id="filePreview">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="type" name="type" lay-filter="type">
                                <option value="0">无</option>
                                <option value="1">预约搬家窗口</option>
                                <option value="2">联系电话</option>
                                <option value="3">站内链接</option>
                                <option value="4">外部链接</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">排序</label>
                        <div class="layui-input-block">
                            <input id="orders" name="orders" placeholder="请输入排序" type="text" class="layui-input" value="0" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">支付宝链接</label>
                        <div class="layui-input-block">
                            <input id="zfbLinkUrl" name="zfbLinkUrl" placeholder="请输入" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">支付宝跳转小程序AppId</label>
                        <div class="layui-input-block">
                            <input id="zfbAppId" name="zfbAppId" placeholder="请输入" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">百度链接</label>
                        <div class="layui-input-block">
                            <input id="bdLinkUrl" name="bdLinkUrl" placeholder="请输入百度链接" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">百度跳转小程序AppId</label>
                        <div class="layui-input-block">
                            <input id="bdAppId" name="bdAppId" placeholder="请输入百度跳转小程序AppId" type="text" class="layui-input"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}